﻿Ext.define('app.prm.detail.OperatorLog', {
    extend: 'Ext.grid.Panel',
    border: false,
    viewConfig: {
        enableTextSelection: true //可以复制单元格文字
    },
    projectId: 0,
    initComponent: function () {
        var me = this;
        me.store = Ext.create("app.ux.PrmStore", { url: '/api/services/app/project/GetOperationLog', filter: { projectId: me.projectId } });
        me.callParent();
    },
    forceFit: true,
    columns: [
        { header: "操作", dataIndex: 'note' },
        { header: "系统", dataIndex: 'platform' },
        { header: "客户端", dataIndex: 'clientName' },
        { header: "客户端IP", dataIndex: 'clientIpAddress' },
        { header: "浏览器", dataIndex: 'browserInfo' },
        { header: "参数", dataIndex: 'parameters' }
    ]
})